package xyz.bali16.module.netdisk.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 网盘服务口
 */
@TableName(value = "netdisk_port")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class NetdiskPort implements Serializable {

    private static final long serialVersionUID = -8315873030674919684L;
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    private String name;

    private Long port;
    private String description;
}